<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<?=base_url()?>system/application/views/css/admin.css" rel="stylesheet" type="text/css" />
<title>订单</title>
</head>

<body>
<div class="wrap">
<table id="mytable" cellspacing="0" summary=""> 

<tr> 
<th scope="col">订单号</th> 
<th scope="col">用户名</th> 
<th scope="col">商品号</th> 
<th scope="col">商品名称</th>
<th scope="col">购买日期</th>
<th scope="col">总金额</th>
<th scope="col">物流信息</th>
<th scope="col">状态</th>
<th scope="col">操作</th> 
</tr> 
 <?php foreach($query->result() as $row) : ?>
<tr> 
<td class="row"><? echo $row->shopid; ?></td> 
<td class="row"><?php echo $row->username;?></td> 
<td class="row"><?php echo $row->proid;?></td> 
<td class="row"><?php echo $row->product_name;?></td> 
<td class="row"><?php echo date('Y-m-d h:i:s',$row->times)?></td> 
<td class="row"><?php echo $row->price?></td> 
<td class="row"><?php echo $row->content ?></td> 
<td class="row"><?php echo $row->status ?></td> 
<td class="row">中国北京</td> 
</tr> 
<?php endforeach; ?>
</table> 

</div>
</body>

</html>